package com.xch.sboot.service.user;

import com.xch.sboot.common.exception.BusinessException;
import com.xch.sboot.persistence.repository.account.UserRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author xch
 * 2022/7/21 22:25
 */
@Service
public class UserService {

    @Resource
    private UserRepository userRepository;

    public void demo() {
        throw new BusinessException("测试异常");
    }
}
